<!DOCTYPE html>
<html class="pixel-ratio-1">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <title>猪只盘点-列表</title>
    <link rel="stylesheet" type="text/css" href="../../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../../public/vendor/weui/jquery-weui.css">
    <!-- Site CSS -->
    <link rel="stylesheet" href="../../../../../public/themes/base/css/site.css" id="admui-siteStyle">
    <link rel="stylesheet" href="../../../../../public/css/features/cbs/pigstocktaking/pigstocktakinglist.css">
    <script id="salesplanmain-template" type="text/x-template">
        {{~ it :value:index}}
        <div class="page__bd page__bd_spacing recruitment_jobs looksale">
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder" style="font-weight:800">{{=index+1}}：{{=value.bizFormObj.billNo}}</div>
                </div>
                <div class="salesplanstate">
                    <div class="placeholder" v-html="item.billStatusCh">{{=value.billStatusCh}}</div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#1baeea">{{=value.farmOrg.name}}</div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">批次：{{=value.breedBatch.name}}</div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">盘点日期：{{=moment(value.bizDate).format('YYYY-MM-DD')}}</div>
            </div>
            </div>
             <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">饲喂日龄(天)：{{=Utils.toThousands(value.breedBatch.feedDays,0)}}</div>
                </div>
            </div>
               <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">存栏头数(头)：{{=Utils.toThousands(value.breedBatch.count,0)}}</div>
                </div>
            </div>
               <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">盘点数量(头)：{{=Utils.toThousands(value.results.count,0)}}</div>
                </div>
            </div>
               <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">盘点均重(kg/头)：{{=Utils.toThousands(value.results.avgWeight,2)}}</div>
                </div>
            </div>
               <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">盘点差异(头)：
                        {{? Utils.IsNotNull(value.results.profitCount)}}
                        {{=Utils.toThousands(value.results.profitCount,0)}}
                        {{??}}
                        {{=Utils.toThousands(value.results.lossCount,0)}}
                        {{?}}
                    </div>
                </div>
            </div>
            <!-- <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">盘点日期：{{=moment(value.bizDate).format('YYYY-MM-DD')}}</div>
                </div>
            </div> -->
          
             {{~ value.entries :a:b}}
             <div class="weui-flex marbot" style="font-size: 14px;">
   
                <div class="weui-flex__item" style="display:flex; justify-content: space-between;">
                    <div class="placeholder" style="color:#4d4d4d">{{=a.material.name}}</div>
                    <div class="placeholder" style="color:#4d4d4d">{{=a.feedingCount}}({{=a.material.baseMeasureUnit=='千克'?'kg':a.material.baseMeasureUnit}})</div>
                </div>
            </div>
           {{~}}
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                </div>
                <div class="salesplanstate saleElp">
                    <div class="placeholder ellipsis">
                        <svg t="1663838073483" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2539" width="30" height="20">
                            <path d="M256 512a64 64 0 1 1-128 0 64 64 0 0 1 128 0zM576 512a64 64 0 1 1-128 0 64 64 0 0 1 128 0zM896 512a64 64 0 1 1-128 0 64 64 0 0 1 128 0z" p-id="2540"></path>
                        </svg>
                    </div>
                </div>
                <div class="detail" style="display: none;">
                    <ul class="saledetail">
                        <li class="edit operation subsale" data-id='{{=value.id}}'>编辑</li>
                        <li class="submit subsale">提交</li>
                        <li class="unsubmit savesale">反提交</li>
                        <li class="audit savesale">审核</li>
                        <li class="antiaudit savesale subsale">反审核</li>
                        <li class="viewdetails operation">查看详情</li>
                        <li class="delete subsale">删除</li>
                    </ul>
                </div>
            </div>
        </div>
        {{~}}
        <div class="weui-loadmore weui-loadmore_line" style="margin-top: 100px;">
            <span class="weui-loadmore__tips" style="background: #f1f1f1;">已经到底了</span>
        </div>
    </script>
</head>

<body>
    <div id="pull-down" class="pull-down">
        <div class="pull-down-content">松开刷新</div>
    </div>
    <div id="salesplanmain">
        <div id="salesplanmainId" class="weui-tab ">
            <div class="weui-search-bar" id="search_bar">
                <form class="weui-search-bar__form" style="height: 35px;">
                    <div class="weui-search-bar__box input-search">
                        <i class="weui-icon-search"></i>
                        <input type="search" class="weui-search-bar__input ios-input-adjustment" id="search-index"
                            placeholder="请输入查询信息..." autocomplete="off" />
                        <a href="javascript:" class="weui-icon-clear" id="search_clear"></a>
                    </div>
                    <label for="search_input" class="weui-search-bar__label" id="search_text">
                        <i class="weui-icon-search"></i>
                        <span>搜索</span>
                    </label>
                </form>
                <a href="javascript:" class="weui-search-bar__cancel-btn" id="search_cancel">取消</a>
            </div>
            <div id="spleplan-navbar" class="weui-navbar spleplan_nav">
                <a class="weui-navbar__item weui-bar__item--on navbar-click" href="javascript:;" id="all-list">
                    全部
                </a>
                <a class="weui-navbar__item  navbar-click" href="javascript:;" id="save-list">
                    已保存
                </a><a class="weui-navbar__item navbar-click" href="javascript:;" id="submit-list">
                    已提交
                </a>
                <a class="weui-navbar__item navbar-click" href="javascript:;" id="audit-list">
                    已审核
                </a>
            </div>
            <div id="salesplantel"></div>

            <div class="addsaleorders" id="addsaleorders">
                <div class="addsales">
                    <i class="icon iconfont icon-add-line icon-font-size-24 icon-click"
                        style="font-size: 50px;color: aliceblue;" aria-hidden="true"></i>
                </div>
            </div>
            <div class="returnHome" id="returnMain">
                <i class="icon iconfont icon-pages"></i>
            </div>
        </div>
    </div>


    <script type="text/javascript" src="../../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/swiper/swiper.js"></script>

    <script type="module" src="../../../../../public/js/features/cbs/pigstocktaking/pigstocktakinglist.js"></script>
</body>

</html>